import * as types from '../actionTypes';

export const userRequest = ()=> ({
  type:types.USER_REQUEST
})
export const userSuccess = (data)=> ({
  type:types.USER_SUCCESS,
  data
})
export const userFailed = (error)=> ({
  type:types.USER_FAILED
})